<%@page import="Model.User"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<% String path_admin = "/SHOPCH4/Admin"; %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Admin Shop CH4</title>
        <link href="<%=path_admin %>/960.css" rel="stylesheet" type="text/css" media="all" />
        <link href="<%=path_admin %>/text.css" rel="stylesheet" type="text/css" media="all" />
        <link href="<%=path_admin %>/style.css" rel="stylesheet" type="text/css" media="all" />

       
        <style type="text/css">
            .pohand{
                font-size: 15px;
            }
            td{
                padding-right: 15px;
            }
        </style>
    </head>

    <body>
        <div class="container_16" id="content">
            <div class="" id="header">
                <div class="grid_4 alpha" id="admin"></div>
                <div class="grid_12 omega" id="menu">
                    <jsp:include page="Navigation.jsp" flush="true">
                        <jsp:param name="accountManage" value="current"/>
                    </jsp:include>
                </div> <!-- End #menu -->
            </div> <!-- End #header -->


            <div class="grid_16 alpha omega" id="mainContent">
                <div class="grid_4 alpha" id="leftPanel">
                    <br/>
                </div> <!-- End #leftPanel -->

                <div class="grid_12 omega" id="mainPanel">
                <%
                User user = null;
                if(request.getAttribute("infoUser") != null){
                	user = (User) request.getAttribute("infoUser");
                }
                %>
                    <h1>Thông tin chi tiết</h1><br/>
                    <table>
                        <tr>
                            <td class="pohand">User Id: </td>
                            <td><%=user.getUserID() %></td>
                        </tr>
                        <tr>
                            <td class="pohand">User name: </td>
                            <td><%=user.getUsername() %></td>
                        </tr>
                        
                        <tr>
                            <td class="pohand">Name: </td>
                            <td><%=user.getHoTen() %></td>
                        </tr>
                        <tr>
                            <td class="pohand">Address: </td>
                            <td><%=user.getDiaChi() %></td>
                        </tr>
                        <tr>
                            <td class="pohand">Phone: </td>
                            <td><%=user.getDienThoai() %></td>
                        </tr>
                        <tr>
                            <td class="pohand">Email: </td>
                            <td><%=user.getEmail() %></td>
                        </tr>
                        <tr>
                            <td class="pohand">Role:</td>
                            <td><%=user.getQuyen().getTenQuyen() %></td>
                        </tr>
                    </table>

                    <a href="Admin/AccountManage.jsp"><input type="button" value="Quay lại"></a>
                </div> <!-- End #mainPanel -->
            </div> <!-- End #mainContent -->
            <div id="footer" align="center"><font color="white">© 2013 Shop CH4</font></div>
        </div>
    </body>
</html>